package org.shoukaiseki.common.logger.level;

import org.slf4j.ILoggerFactory;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.LoggerContext;


public class LogbackLevelSetting {


    public static void debugLevel(String name){
        ILoggerFactory iLoggerFactory = org.slf4j.LoggerFactory.getILoggerFactory();
        LoggerContext loggerContext = (LoggerContext) iLoggerFactory;
        loggerContext.getLogger(name).setLevel(Level.DEBUG);

    }


}
